// const path = require('path')
// const webpack = require('webpack')
// const config = require('./config/index')
// const env = process.env.NODE_ENV === 'production' ? 'production' : 'development'
// const CleanWebpackPlugin = require('clean-webpack-plugin')
// const dllPath = path.join(__dirname, './dll/')
// const webpackDllConfig = {
//   mode: 'env',
//   entry: config.dllEntry,
//   output: {
//     path: dllPath,
//     filename: '[name].dll.js',
//     library: '[name]_[hash]'
//   },
//   plugins: [
//     new CleanWebpackPlugin(),
//     new webpack.DllPlugin({
//       path: path.join(__dirname, './dll/', '[name]-manifest.json'),
//       name: '[name]_[hash]',
//       context: process.cwd()
//     })
//   ]
// }
// module.exports = webpackDllConfig
